import { RouteRecordRaw } from "vue-router"

const routes: Array<RouteRecordRaw> = [
  {
    path: '/forget',
    name: 'forgetPassword',
    component: () => import('@/views/login/forgetPassword.vue'),
    meta: { title: '手机验证', showNavbar: true }
  },
  {
    path: '/real-auth',
    name: 'RealAuth',
    component: () => import('@/views/auth/index.vue'),
    meta: { title: '实名认证', showNavbar: true ,color: '#fff'},
  },
  {
    path: '/user',
    name: 'User',
    component: () => import('@/views/user/index.vue'),
    meta: { title: '个人中心', showNavbar: false}
  },
  {
    path: '/payouts',
    name: 'Payouts',
    component: () => import('@/views/payouts/payouts.vue'),
    meta: { title: '提现', showNavbar: true}
  },
  {
    path: '/payouts/type',
    name: 'PayoutsType',
    component: () => import('@/views/payouts/type.vue'),
    meta: { title: '提现账户', showNavbar: true}
  },
  {
    path: '/change-password',
    name: 'ChangePsd',
    component: () => import('@/views/change-password/index.vue'),
    meta: { title: '修改密码', showNavbar: true}
  },
  {
    path: '/add-bank',
    name: 'AddBank',
    component: () => import('@/views/add-category/bank-card.vue'),
    meta: { title: '添加银行卡', showNavbar: true}
  },
  {
    path: '/add-alipay',
    name: 'AddAlipay',
    component: () => import('@/views/add-category/alipay.vue'),
    meta: { title: '添加支付宝', showNavbar: true}
  }
]



export default routes